import request from "@/utils/requestBase";

/**
 * @description 反诈宣传-列表
 */
export function listAntiFraud(data: any) {
  return request.get({
    url: "/anti-fraud/listPage",
    data,
  });
}

/**
 * @description 反诈宣传详情
 */
export function detailAntiFraud(data: any) {
  return request.get({
    url: "/anti-fraud/selectOne",
    data,
  });
}

/**
 * @description 消防安全-列表
 */
export function listFireSafety(data: any) {
  return request.get({
    url: "/firefighting/listPage",
    data,
  });
}

/**
 * @description 消防安全详情
 */
export function detailFireSafety(data: any) {
  return request.get({
    url: "/firefighting/selectOne",
    data,
  });
}

/**
 * @description 防范提示-列表
 */
export function listPreventiveTip(data: any) {
  return request.get({
    url: "/preventive/listPage",
    data,
  });
}

/**
 * @description 防范提示详情
 */
export function detailPreventiveTip(data: any) {
  return request.get({
    url: "/preventive/selectOne",
    data,
  });
}

export function regulationslistPage(data: any) {
  return request.get({
    url: "/regulations/listPage",
    data,
  });
}
export function regulationsselectOne(data: any) {
  return request.get({
    url: "/regulations/selectOne",
    data,
  });
}
export function integritylistPage(data: any) {
  return request.get({
    url: "/online-integrity/listPage",
    data,
  });
}
// -------------------------------------------
export function integrityselectOne(data: any) {
  return request.get({
    url: "/online-integrity/selectOne",
    data,
  });
}
export function snapshotgetSnapshotPushVoPage(data: any) {
  return request.get({
    url: "/snapshot/getSnapshotPushVoPage",
    data,
  });
}
export function snapshotgetSnapshotVoPage(data: any) {
  return request.get({
    url: "/snapshot/getSnapshotVoPage",
    data,
  });
}
// export function snapshotgetSnapshotVoPage(data: any) {
//   return request.DELETE({
//     url: "/snapshot/getSnapshotVoPage",
//     data,
//   });
// }

export function snapshotdelete(ids: any) {
  return request.del({
    url: `/snapshot/delete/${ids}`,
  });
}
export function reservationreservation(data: any) {
  return request.get({
    url: "/reservation/getReservationAppListVo",
    data,
  });
}
export function reservationadd(data: any) {
  return request.post({
    url: "/reservation/add",
    data,
  });
}